package com.mohan.dlxj.service;

import com.mohan.dlxj.common.JsonResult;
import com.mohan.dlxj.pojo.RoleList;

import java.util.List;

public interface RoleService {
  JsonResult getRoleList(long current, long limit);

  Integer getRoleAll();

  void updateRole(RoleList roleList);

  void deleteRole(Integer id);

  void saveRole(RoleList roleList);

  RoleList getRoleById(Integer id);
}
